<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<MVCActiveRecordIntegration.Models.Person>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
	<title>Details</title>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Details</h2>

    <fieldset>
        <legend>Fields</legend>
        <p>
            Id: 
            <%= Html.Encode(Model.Id) %>
        </p>
        <p>
            FirstName: 
            <%= Html.Encode(Model.FirstName) %>
        </p>
        <p>
            LastName: 
            <%= Html.Encode(Model.LastName) %>
        </p>
        <p>
            DateOfBirth: 
            <%= Html.Encode(Model.DateOfBirth) %>
        </p>
    </fieldset>
    <p>
        <%=Html.ActionLink("Edit", "Edit", new { Model.Id }) %> |
        <%=Html.ActionLink("Back to List", "Index") %>
    </p>

</asp:Content>

